package com.example.experiment_2java.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("book")
@Data
public class Book implements Serializable {
    @TableId("isbn")
    private String isbn;
    @TableField("book_name")
    private String bookName;
    private String author;
    private String press;
    @TableField("class_name")
    private String className;
}
